import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "终于等到你了",
  description: "A VitePress Site",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '首页', link: '/' },
      //{ text: '文档', link: '/markdown-examples' }
    ],

    sidebar: [
      {
        text: '文档',
        items: [
          { text: 'byhealth.jar', link: '/markdown-examples' },
          { text: 'tJS', link: '/api-examples' }
        ]
      }
    ],

    socialLinks: [
      { icon: 'gitee', link: 'https://gitee.com/samxfan/website' }
    ],

    footer: {
      message: '采用<a href="https://vitepress.dev/" target="_blank"> VitePress </a>搭建',
      copyright: 'Copyright © 2019-present samxfan'
    }
  }
})
